<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    
    
    <title>追光者的部落 | 种一棵树最好的时间是十年之前,其次是现在</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="keywords" content="">
    <link rel="shortcut icon" href="/img/favicon.ico">
    <link rel="stylesheet" href="/css/style.css?v=1.0.0">
    
    <script type="text/javascript">
        // Data Center
        var DC = {
            reward:	false,
            lv: JSON.parse('{"enable":false,"app_id":null,"app_key":null,"icon":true}'),
            v: JSON.parse('{"enable":true,"appid":"OCT05YTTqCrexJcyc5Ay0XXD-gzGzoHsz","appkey":"L6b0lDuLhBWOEUhEYmfA7g7C","notify":false,"verify":false,"placeholder":"suggest","avatar":"wavatar"}'),
            g: JSON.parse('{"enable":false,"lazy":true,"owner":"longmartin","repo":null,"oauth":{"client_id":null,"client_secret":null},"perPage":10}'),
            d: JSON.parse('{"app_id":null}')
        };
    </script>
    <script type="text/javascript">
        window.lazyScripts=[];
    </script>
    
</head>


<body>
    <div id="loading" class="active"></div>

    <aside id="menu"  >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap">
      
      <img src="/img/brand.jpg" class="brand-bg">
      
      <div class="brand">
        <a href="/" class="avatar waves-effect waves-circle waves-light">
          <img src="/img/avatar.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">Martin Long</h5>
          <a href="mailto:1156341485@qq.com" title="1156341485@qq.com" class="mail">
            
              <span>1</span>
            
              <span>1</span>
            
              <span>5</span>
            
              <span>6</span>
            
              <span>3</span>
            
              <span>4</span>
            
              <span>1</span>
            
              <span>4</span>
            
              <span>8</span>
            
              <span>5</span>
            
              <span>@</span>
            
              <span>q</span>
            
              <span>q</span>
            
              <span>.</span>
            
              <span>c</span>
            
              <span>o</span>
            
              <span>m</span>
            
          </a>
        </hgroup>
        
        <ul class="menu-link">
          
              <li>
                <a href="https://github.com/longmartin" target="_blank">
                  <i class="icon icon-lg icon-github"></i>
                </a>
              </li>
            
        </ul>
        
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="">
              <a href="/"  >
                <i class="icon icon-lg icon-home"></i>
                HOME
              </a>
            </li>
        
            <li class="">
              <a href="/categories"  >
                <i class="icon icon-lg icon-th-list"></i>
                分类
              </a>
            </li>
        
            <li class="">
              <a href="/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                标签
              </a>
            </li>
        
            <li class="">
              <a href="/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                文档
              </a>
            </li>
        
            <li class="">
              <a href="https://github.com/longmartin" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
            <li class="">
              <a href="https://www.jianshu.com/u/696184ca9e21" target="_blank" >
                <i class="icon icon-lg icon-link"></i>
                简书
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        
    <header class="top-header" id="header">
    <div class="flex-row clearfix">
        <a href="javascript:;" class="header-icon pull-left waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">
            <span>追光者的部落</span>
            
            <span> - </span>
            <span class="header-description">种一棵树最好的时间是十年之前,其次是现在</span>
            
        </div>
        
        <a href="javascript:;" id="site_search_btn" class="header-icon pull-right waves-effect waves-circle waves-light">
            <i class="icon icon-lg icon-search"></i>
        </a>
        
    </div>
</header>
<header class="content-header index-header">
    <div class="container fade-scale">
        <h1 class="title">追光者的部落</h1>
        <h5 class="subtitle">
            
                种一棵树最好的时间是十年之前,其次是现在
            
        </h5>
        
    </div>
    

</header>

<div id="site_search">
    <div class="search-title clearfix">
        <span class="pull-left">
          <i class="icon icon-lg icon-search"></i>
        </span>
        <input type="text" id="local-search-input" name="q" results="0" placeholder="search my blog..." class="form-control pull-left"/>
        <a href="javascript:;" class="close pull-right waves-effect waves-circle waves-light">
          <i class="icon icon-lg icon-close"></i>
        </a>
    </div>
    <div id="local-search-result"></div>
</div>

    <div class="container body-wrap">
        <ul class="post-list">
        
            <li class="post-list-item fade">
                <article id="post-20180616-1"
  class="article-card article-type-post" itemprop="blogPost">
  
    
    
    
        


  
    <h3 class="post-title re-title" itemprop="name">
      <a class="post-title-link" href="/skill/20180616-1.html">Linux上安装git</a>
    </h3>
  



    
    <div class="post-meta">
        <time class="post-time" title="2018-06-16 09:27:35" datetime="2018-06-16T09:27:35.000Z"  itemprop="datePublished">2018-06-16</time>

        
	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/skill/">技能</a></li></ul>



        

        
    <span class="leancloud-comment">
        <i class="icon icon-comment-o"></i>
        <a href="/skill/20180616-1.html#comment">
            <span class="valine-comment-count" data-xid="/skill/20180616-1.html"></span>
        </a>
    </span>



        
        
    </div>
    
    <div class="post-content" id="post-content" itemprop="postContent">
    
    
        
centos
# 安装yum install git-core# 查看git version# 配置用户名和邮箱git config --global user.name xxxgit config --global user.email xxxx@xx.com# 生成公钥私钥对ssh-keygen -t rsa

debian/ubuntu
#安装# 安装apt-get install ...
    
    <a href="/skill/20180616-1.html" class="post-more waves-effect waves-button">
            阅读全文
        </a>
    </div>
</article>

<div class="post-footer">
    
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/centos/">Centos</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/git/">Git</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/linux/">Linux</a></li></ul>

</div>


            </li>
        
            <li class="post-list-item fade">
                <article id="post-20180616-0"
  class="article-card article-type-post" itemprop="blogPost">
  
    
    
    
        


  
    <h3 class="post-title re-title" itemprop="name">
      <a class="post-title-link" href="/skill/20180616-0.html">git常用命令大全</a>
    </h3>
  



    
    <div class="post-meta">
        <time class="post-time" title="2018-06-16 09:27:14" datetime="2018-06-16T09:27:14.000Z"  itemprop="datePublished">2018-06-16</time>

        
	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/skill/">技能</a></li></ul>



        

        
    <span class="leancloud-comment">
        <i class="icon icon-comment-o"></i>
        <a href="/skill/20180616-0.html#comment">
            <span class="valine-comment-count" data-xid="/skill/20180616-0.html"></span>
        </a>
    </span>



        
        
    </div>
    
    <div class="post-content" id="post-content" itemprop="postContent">
    
    
        本来打算写一篇git命令大全的，但是看到别人也写了一篇，而且挺全面的，也就转过来，他山之石，可以攻玉，希望对大家有所帮助。原文地址：http://www.ruanyifeng.com/blog/2015/12/git-cheat-sheet.html
一般来说，日常使用只要记住下图6个命令，就可以了。但是熟练使用，恐怕要记住60～100个命令
                
       ...
    
    <a href="/skill/20180616-0.html" class="post-more waves-effect waves-button">
            阅读全文
        </a>
    </div>
</article>

<div class="post-footer">
    
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/git/">Git</a></li></ul>

</div>


            </li>
        
            <li class="post-list-item fade">
                <article id="post-arch1"
  class="article-card article-type-post" itemprop="blogPost">
  
    
    
    
        


  
    <h3 class="post-title re-title" itemprop="name">
      <a class="post-title-link" href="/frontend/arch1.html">form-data、x-www-form-urlencoded、raw、binary的区别</a>
    </h3>
  



    
    <div class="post-meta">
        <time class="post-time" title="2018-03-27 22:07:52" datetime="2018-03-27T22:07:52.000Z"  itemprop="datePublished">2018-03-27</time>

        
	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/frontend/">大前端</a></li></ul>



        

        
    <span class="leancloud-comment">
        <i class="icon icon-comment-o"></i>
        <a href="/frontend/arch1.html#comment">
            <span class="valine-comment-count" data-xid="/frontend/arch1.html"></span>
        </a>
    </span>



        
        
    </div>
    
    <div class="post-content" id="post-content" itemprop="postContent">
    
    
        form-data:就是http请求中的multipart/form-data,它会将表单的数据处理为一条消息，以标签为单元，用分隔符分开。既可以上传键值对，也可以上传文件。当上传的字段是文件时，会有Content-Type来表名文件类型;content-disposition，用来说明字段的一些信息；
由于有boundary隔离，所以multipart/form-data既可以上传文件，也...
    
    <a href="/frontend/arch1.html" class="post-more waves-effect waves-button">
            阅读全文
        </a>
    </div>
</article>

<div class="post-footer">
    
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/http/">HTTP</a></li></ul>

</div>


            </li>
        
            <li class="post-list-item fade">
                <article id="post-arch2"
  class="article-card article-type-post" itemprop="blogPost">
  
    
    
    
        


  
    <h3 class="post-title re-title" itemprop="name">
      <a class="post-title-link" href="/resource/arch2.html">免费的编程中文书籍索引</a>
    </h3>
  



    
    <div class="post-meta">
        <time class="post-time" title="2018-03-21 21:48:00" datetime="2018-03-21T21:48:00.000Z"  itemprop="datePublished">2018-03-21</time>

        
	<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/resource/">资源</a></li></ul>



        

        
    <span class="leancloud-comment">
        <i class="icon icon-comment-o"></i>
        <a href="/resource/arch2.html#comment">
            <span class="valine-comment-count" data-xid="/resource/arch2.html"></span>
        </a>
    </span>



        
        
    </div>
    
    <div class="post-content" id="post-content" itemprop="postContent">
    
    
        语言无关类操作系统
开源世界旅行手册
鸟哥的Linux私房菜
The Linux Command Line (中英文版)
Linux 设备驱动 (第三版)
深入分析Linux内核源码
UNIX TOOLBOX
Docker中文指南
Docker —— 从入门到实践
Docker入门实战
Docker Cheat Sheet
FreeRADIUS新手入门
Mac 开发配置手册
FreeBSD ...
    
    <a href="/resource/arch2.html" class="post-more waves-effect waves-button">
            阅读全文
        </a>
    </div>
</article>

<div class="post-footer">
    
	<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/file/">存档</a></li></ul>

</div>


            </li>
        
        </ul>
        
<nav id="page-nav">
    <div class="inner">
    <a class="extend prev" rel="prev" href="/page/3/">上一页</a><a class="page-number" href="/">1</a><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="page-number current">4</span>
    </div>
</nav>

    </div>

        <footer class="footer">
    
    <div class="bottom">
        <p>
            <span>
                Martin Long &copy; 2017 - 2018
            </span>
        		
           	
            
            
            <span>
	            Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/codefine/hexo-theme-mellow" target="_blank">book</a>
            </span>
            
            
            
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://blog.inbelieve.top/page/4/&title=追光者的部落&source=有些鸟儿天生是没办法被关在笼子里的,因为他的每一片羽毛都闪耀着自由的光辉" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="" alt="微信分享二维码">
</div>


    
    <!-- main-js -->
<script type="text/javascript" src="//cdn.bootcss.com/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript" src="/js/plugins/fastclick.js?v=1.0.0"></script>

<script type="text/javascript" src="https://cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>

<script type="text/javascript" src="/js/method.js?v=1.0.0"></script>
<script type="text/javascript" src="/js/blog.js?v=1.0.0"></script>

<!-- third-party -->





<script type="text/javascript" src="/js/plugins/local_search.js?v=1.0.0"></script>
<script type="text/javascript">
	var search_path = "search.xml";
	if (search_path.length === 0) {
		search_path = "search.xml";
	}
	var path = "/" + search_path;
	searchFunc(path, "local-search-input", "local-search-result");
</script>



    
        <script type="text/javascript" src="https://cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
<script type="text/javascript" src="//unpkg.com/valine/dist/Valine.min.js"></script>
<script type="text/javascript" src="/js/plugins/valine.js?v=1.0.0"></script>
    
    







    <script>
    (function() {
        var OriginTitile = document.title, titleTime;
        document.addEventListener('visibilitychange', function() {
            if (document.hidden) {
                document.title = 'leaving！';
                clearTimeout(titleTime);
            } else {
                document.title = 'welcome!';
                titleTime = setTimeout(function() {
                    document.title = OriginTitile;
                },2000);
            }
        });
    })();
</script>




    
</body>
</html>
